37717738d3424d5d99757df59aae1881c695c054,modules/apps/collaboration/wiki/wiki-editor-configuration/src/test/java/com/liferay/wiki/editor/configuration/WikiAttachmentAlloyEditorEditorConfigContributorTest.java,WikiAttachmentAlloyEditorEditorConfigContributorTest,testImageButtonNotRemovedWhenValidWikiPage,#,98

Before Change


	public void testImageButtonNotRemovedWhenValidWikiPage() throws Exception {
		setWikiPageResourcePrimKey(1);

		JSONObject originalJSONObject = JSONFactoryUtil.createJSONObject();

		originalJSONObject.put("extraPlugins", "plugin1,plugin2,plugin3");

		originalJSONObject.put(
			"toolbars", getToolbarsWithCameraImageButtonJSONObject());

		JSONObject jsonObject = JSONFactoryUtil.createJSONObject(
			originalJSONObject.toJSONString());

After Change


	public void testImageButtonNotRemovedWhenValidWikiPage() throws Exception {
		setWikiPageResourcePrimKey(1);

		JSONObject originalJSONObject = getJsonObjectWithToolbar(
			getToolbarsWithCameraImageButtonJSONObject());

		JSONObject jsonObject = JSONFactoryUtil.createJSONObject(
			originalJSONObject.toJSONString());